#include <stdio.h>
#include "Server.h"
#include "Listener.h"

using namespace std;

int main(){
	Server* s = new Server();

	pthread_t thread1,thread2;

	pthread_create( &thread1, NULL, runListener, (void*) s);
	s->run();
	pthread_join(thread1,NULL);
	delete(s);
	return 0;
}
